<nav>
<?php use_stylesheet('bootstrap.css') ?>
<?php use_stylesheet('bootstrap-theme.css') ?>    
<?php use_stylesheet('uploadfile.css') ?>    
<?php use_stylesheet('style_form_beca.css') ?>    

<?php use_javascript('becas_editar.js') ?>
<?php use_javascript('jquery.uploadfile.js') ?>
<?php use_javascript('bootstrap.js')?>
<?php $id = $sf_user->getAttribute('beca_id') ?>    
    <?php if($id == ''):?>
        <?php include_partial('menu', array('id'=> 1))?>
    <?php else:?>
        <?php include_partial('menu', array('id'=> $id))?>
    <?php endif;?>
</nav>
<article>
    <table class="table table-condensed">
        <thead>            
            <tr>
                <th colspan="2"><h3 id="titulo_form"><?php echo $una_convocatoria[0][2];?></h3></th>
            </tr>            
            <tr>
                <th colspan="2"><?php echo image_tag('/uploads/logos/'.$una_convocatoria[0][1], 'id=img_logo', 'alt=logo'.$una_convocatoria[0][0]) ?></th>                
            </tr>
        </thead>
        <tbody>
            <tr>
                <th>tipo de convocatoria: </th>
                <td><?php echo $una_convocatoria[0][5];?></td>
            </tr>
            <tr>
                <th>Institucion </th>
                <td><?php echo $una_convocatoria[0][6];?></td>
            </tr>
            <?php foreach ($una_convocatoria as $beca):?>
            <tr>
            <th><?php echo $beca['nombre_atributo'] ?></th>
            <td><?php echo $beca['atributo_valor'] ?></td>                        
            </tr>
            <?php endforeach;?>
        </tbody>        
        <tfoot><tr><td colspan="2">fin reporte</td></tr></tfoot>
    </table>
</article>